package com.lxs.votesystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lxs.votesystem.bean.Channel;
import com.lxs.votesystem.mapper.ChannelMapper;
import com.lxs.votesystem.service.ChannelService;
@Service
@Transactional
public class ChannelServiceImpl implements ChannelService {
	
	@Autowired
	private ChannelMapper channelMapper;

	public List<Channel> queryAllChannel() {
		return channelMapper.queryAllChannel();
	}

}
